package com.ruoyi.web.controller.dev;


import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.utils.SecurityUtils;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 参数配置 信息操作处理
 *
 * @author ruoyi
 */
@RestController
@RequestMapping("/test")
public class HelloController extends BaseController
{
//    @Autowired
//    private TestService testService;

    /**
     * 获取参数配置列表
     */
    @GetMapping("/hello")
    public String list()
    {
        System.out.println("111");
        return "11";
    }


    @GetMapping("/test1")
    public AjaxResult test1()
    {

//        Long userId = SecurityUtils.getUserId();

        System.err.println(1221212);

        return AjaxResult.success("22222222");
    }



}
